<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head></h:head>
<body>
	<h:form>
		<h1>Venue Details</h1>
		<h:panelGrid id="pl_venue" columns="2" border="1">
			<h:outputText value="Code:"></h:outputText>
			<h:inputText value="#{venue.code}"></h:inputText>
			<h:outputText value="Name:"></h:outputText>
			<h:inputText value="#{venue.name}"></h:inputText>

			<h:outputText value="Capacity:"></h:outputText>
			<h:inputText value="#{venue.capacity}"></h:inputText>

			<h:outputText value="Area:"></h:outputText>
			<h:inputText value="#{venue.area}"></h:inputText>

			<h:outputText value="Description:"></h:outputText>
			<h:inputTextarea value="#{venue.description}"></h:inputTextarea>
			
			<h:outputText value="Cost:"></h:outputText>
			<h:inputText value="#{venue.cost}"></h:inputText>

		</h:panelGrid>
		<h:commandButton id="save" value="Update"
			action="#{venue.updateVenue}" />
		<h:commandButton id="remove" value="Remove"
			action="#{venue.removeVenue}" />
		<h:commandButton id="cancel" value="Back" action="back" />

	</h:form>
</body>
</html>
